package com.tk.exam.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@ConfigurationProperties(prefix = "tomcat")
@EnableConfigurationProperties
@Component
public class TomcatProperties {
    private String acceptorThreadCount;
    private String minSpareThreads;
    private String maxThreads;
    private String maxConnections;
    private String protocol;
    private String redirectPort;
    private String compression;
    private String connectionTimeout;
    private String maxFileSize;
    private String maxRequestSize;
    private String enableLookups;
    private String disableUploadTimeout;
    private String compressionMinSize;
    private String noCompressionUserAgents;
    private String compressableMimeType;
}